<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>eRPC API Reference: erpc_mu_transport.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="nxp_logo_small.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">eRPC API Reference
   &#160;<span id="projectnumber">Rev. 1.7.4</span>
   </div>
   <div id="projectbrief">NXP Semiconductors</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>API&#160;Reference</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('erpc__mu__transport_8h_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">erpc_mu_transport.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="erpc__mu__transport_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * Copyright 2017 NXP</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> * All rights reserved.</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> * SPDX-License-Identifier: BSD-3-Clause</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> */</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;</div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor">#ifndef _EMBEDDED_RPC__MU_TRANSPORT_H_</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#define _EMBEDDED_RPC__MU_TRANSPORT_H_</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#include &quot;erpc_config_internal.h&quot;</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#if ERPC_THREADS</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="erpc__threading_8h.html">erpc_threading.h</a>&quot;</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="erpc__message__buffer_8h.html">erpc_message_buffer.h</a>&quot;</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="erpc__transport_8h.html">erpc_transport.h</a>&quot;</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor">#include &quot;fsl_device_registers.h&quot;</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor">#include &quot;fsl_mu.h&quot;</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;</div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="comment">// Definitions</span></div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="comment"></span><span class="preprocessor">#if ERPC_TRANSPORT_MU_USE_MCMGR</span></div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="preprocessor">#define MU_REG_COUNT (MU_RR_COUNT - 1U)</span></div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="preprocessor">#define MU_LAST_REG_IDX 2</span></div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="preprocessor">#define MU_RX_Interrupt_Handler(x) MU_RX_Interrupt(x)</span></div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">#define MU_RX_Interrupt(number) MU_Rx##number##FullFlagISR</span></div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="preprocessor">#define MU_RxFullFlagISRCallback MU_RX_Interrupt_Handler(MU_LAST_REG_IDX)</span></div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="preprocessor">#define MU_TX_Interrupt_Handler(x) MU_TX_Interrupt(x)</span></div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="preprocessor">#define MU_TX_Interrupt(number) MU_Tx##number##EmptyFlagISR</span></div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="preprocessor">#define MU_TxEmptyFlagISRCallback MU_TX_Interrupt_Handler(MU_LAST_REG_IDX)</span></div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="group__mu__transport.html#gaa82790221f23bdec962980cdefd23108">   45</a></span>&#160;<span class="preprocessor">#define MU_REG_COUNT (MU_RR_COUNT) </span></div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="preprocessor">#endif                             </span><span class="comment">/* ERPC_TRANSPORT_MU_USE_MCMGR */</span><span class="preprocessor"></span></div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;<span class="comment">// Classes</span></div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceerpc.html">erpc</a> {</div><div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="classerpc_1_1_m_u_transport.html">   70</a></span>&#160;<span class="keyword">class </span><a class="code" href="classerpc_1_1_m_u_transport.html">MUTransport</a> : <span class="keyword">public</span> <a class="code" href="classerpc_1_1_transport.html">Transport</a></div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;{</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;    <a class="code" href="classerpc_1_1_m_u_transport.html#a27300b08ba409b3d249055f80544ac13">MUTransport</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="classerpc_1_1_m_u_transport.html#aa6b15a8fbb08393fff58a74cd9020b6c">~MUTransport</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="group__infra.html#ga5f8872e58f09a16d192bf664f9898651">erpc_status_t</a> <a class="code" href="classerpc_1_1_m_u_transport.html#a4b7901579d91960ed7f1857b1d1c3f59">init</a>(MU_Type *muBase);</div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;</div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="group__infra.html#ga5f8872e58f09a16d192bf664f9898651">erpc_status_t</a> <a class="code" href="classerpc_1_1_m_u_transport.html#a781435aad523645be3034460ac8631dc">receive</a>(<a class="code" href="classerpc_1_1_message_buffer.html">MessageBuffer</a> *message);</div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;</div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="group__infra.html#ga5f8872e58f09a16d192bf664f9898651">erpc_status_t</a> <a class="code" href="classerpc_1_1_m_u_transport.html#a1d91622c7c8b8161aaf8dec891ff298a">send</a>(<a class="code" href="classerpc_1_1_message_buffer.html">MessageBuffer</a> *message);</div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;</div><div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="classerpc_1_1_m_u_transport.html#aed8229c0d1252932cbc2825240ca718a">  125</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classerpc_1_1_m_u_transport.html#aed8229c0d1252932cbc2825240ca718a">hasMessage</a>() { <span class="keywordflow">return</span> <a class="code" href="classerpc_1_1_m_u_transport.html#ae65cfdb4ea497279cc38b33be217f64a">m_newMessage</a>; }</div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;</div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;<span class="preprocessor">#if ERPC_TRANSPORT_MU_USE_MCMGR</span></div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;</div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;    <span class="keyword">static</span> <span class="keywordtype">void</span> mu_tx_empty_irq_callback(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;    <span class="keyword">static</span> <span class="keywordtype">void</span> mu_rx_full_irq_callback(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;</div><div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;    <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="classerpc_1_1_m_u_transport.html#aa2cc9aad8e99fb873ef142426d10a7be">mu_irq_callback</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* ERPC_TRANSPORT_MU_USE_MCMGR */</span><span class="preprocessor"></span></div><div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;</div><div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classerpc_1_1_m_u_transport.html#a686380ce4763ecff876bea8d2cc72e44">rx_cb</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;</div><div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classerpc_1_1_m_u_transport.html#ad7d078fe2c9e6c31c4eefe6d7720a244">tx_cb</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;</div><div class="line"><a name="l00176"></a><span class="lineno"><a class="line" href="classerpc_1_1_m_u_transport.html#ae65cfdb4ea497279cc38b33be217f64a">  176</a></span>&#160;    <span class="keyword">volatile</span> <span class="keywordtype">bool</span> <a class="code" href="classerpc_1_1_m_u_transport.html#ae65cfdb4ea497279cc38b33be217f64a">m_newMessage</a>; </div><div class="line"><a name="l00178"></a><span class="lineno"><a class="line" href="classerpc_1_1_m_u_transport.html#a9182588c461613f207a84519c7db7c29">  178</a></span>&#160;    uint32_t <a class="code" href="classerpc_1_1_m_u_transport.html#a9182588c461613f207a84519c7db7c29">m_rxMsgSize</a>;       </div><div class="line"><a name="l00180"></a><span class="lineno"><a class="line" href="classerpc_1_1_m_u_transport.html#abd76d3636483884dd51bf0177daccc7f">  180</a></span>&#160;    uint32_t <a class="code" href="classerpc_1_1_m_u_transport.html#abd76d3636483884dd51bf0177daccc7f">m_rxCntBytes</a>;      </div><div class="line"><a name="l00181"></a><span class="lineno"><a class="line" href="classerpc_1_1_m_u_transport.html#a166d8f35868a7312a1ad270e0173c460">  181</a></span>&#160;    uint32_t *<span class="keyword">volatile</span> <a class="code" href="classerpc_1_1_m_u_transport.html#a166d8f35868a7312a1ad270e0173c460">m_rxBuffer</a>; </div><div class="line"><a name="l00182"></a><span class="lineno"><a class="line" href="classerpc_1_1_m_u_transport.html#a2eaee7fe745989f7da8d598c034491a6">  182</a></span>&#160;    uint32_t <a class="code" href="classerpc_1_1_m_u_transport.html#a2eaee7fe745989f7da8d598c034491a6">m_txMsgSize</a>;  </div><div class="line"><a name="l00184"></a><span class="lineno"><a class="line" href="classerpc_1_1_m_u_transport.html#a9d22cd6bde64352bf835d6407905fcce">  184</a></span>&#160;    uint32_t <a class="code" href="classerpc_1_1_m_u_transport.html#a9d22cd6bde64352bf835d6407905fcce">m_txCntBytes</a>; </div><div class="line"><a name="l00185"></a><span class="lineno"><a class="line" href="classerpc_1_1_m_u_transport.html#ab144cee591ebc9ce1ffe3d351a962ad4">  185</a></span>&#160;    uint32_t *<span class="keyword">volatile</span> <a class="code" href="classerpc_1_1_m_u_transport.html#ab144cee591ebc9ce1ffe3d351a962ad4">m_txBuffer</a>; </div><div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;<span class="preprocessor">#if ERPC_THREADS</span></div><div class="line"><a name="l00188"></a><span class="lineno"><a class="line" href="classerpc_1_1_m_u_transport.html#a3e2698860cf93ece52fc9359143bd2a5">  188</a></span>&#160;    <a class="code" href="classerpc_1_1_semaphore.html">Semaphore</a> <a class="code" href="classerpc_1_1_m_u_transport.html#a3e2698860cf93ece52fc9359143bd2a5">m_rxSemaphore</a>; </div><div class="line"><a name="l00189"></a><span class="lineno"><a class="line" href="classerpc_1_1_m_u_transport.html#a8a0bf39fb5fda8dc9c9b8f9c88b099f9">  189</a></span>&#160;    <a class="code" href="classerpc_1_1_semaphore.html">Semaphore</a> <a class="code" href="classerpc_1_1_m_u_transport.html#a8a0bf39fb5fda8dc9c9b8f9c88b099f9">m_txSemaphore</a>; </div><div class="line"><a name="l00191"></a><span class="lineno"><a class="line" href="classerpc_1_1_m_u_transport.html#af107ee7b7ee5bdd016fd01077f682efc">  191</a></span>&#160;    <a class="code" href="classerpc_1_1_mutex.html">Mutex</a> <a class="code" href="classerpc_1_1_m_u_transport.html#af107ee7b7ee5bdd016fd01077f682efc">m_sendLock</a>;    </div><div class="line"><a name="l00192"></a><span class="lineno"><a class="line" href="classerpc_1_1_m_u_transport.html#ac6d0b82f41b743f76fd85a71a8a5bc9f">  192</a></span>&#160;    <a class="code" href="classerpc_1_1_mutex.html">Mutex</a> <a class="code" href="classerpc_1_1_m_u_transport.html#ac6d0b82f41b743f76fd85a71a8a5bc9f">m_receiveLock</a>; </div><div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;</div><div class="line"><a name="l00195"></a><span class="lineno"><a class="line" href="classerpc_1_1_m_u_transport.html#aa59a102cfc5c31bd638ddbc727d7b903">  195</a></span>&#160;    MU_Type *<a class="code" href="classerpc_1_1_m_u_transport.html#aa59a102cfc5c31bd638ddbc727d7b903">m_muBase</a>; </div><div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;};</div><div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;</div><div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;} <span class="comment">// namespace erpc</span></div><div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;</div><div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;<span class="preprocessor">#endif // _EMBEDDED_RPC__MU_TRANSPORT_H_</span></div><div class="ttc" id="classerpc_1_1_transport_html"><div class="ttname"><a href="classerpc_1_1_transport.html">erpc::Transport</a></div><div class="ttdoc">Abstract interface for transport layer. </div><div class="ttdef"><b>Definition:</b> erpc_transport.h:35</div></div>
<div class="ttc" id="group__infra_html_ga5f8872e58f09a16d192bf664f9898651"><div class="ttname"><a href="group__infra.html#ga5f8872e58f09a16d192bf664f9898651">erpc_status_t</a></div><div class="ttdeci">int32_t erpc_status_t</div><div class="ttdoc">Type used for all status and error return values. </div><div class="ttdef"><b>Definition:</b> erpc_common.h:86</div></div>
<div class="ttc" id="classerpc_1_1_m_u_transport_html_a2eaee7fe745989f7da8d598c034491a6"><div class="ttname"><a href="classerpc_1_1_m_u_transport.html#a2eaee7fe745989f7da8d598c034491a6">erpc::MUTransport::m_txMsgSize</a></div><div class="ttdeci">uint32_t m_txMsgSize</div><div class="ttdef"><b>Definition:</b> erpc_mu_transport.h:182</div></div>
<div class="ttc" id="classerpc_1_1_m_u_transport_html_a781435aad523645be3034460ac8631dc"><div class="ttname"><a href="classerpc_1_1_m_u_transport.html#a781435aad523645be3034460ac8631dc">erpc::MUTransport::receive</a></div><div class="ttdeci">virtual erpc_status_t receive(MessageBuffer *message)</div><div class="ttdoc">Start receiving data and stores it to passed message buffer. </div><div class="ttdef"><b>Definition:</b> erpc_mu_transport.cpp:184</div></div>
<div class="ttc" id="classerpc_1_1_m_u_transport_html_aa6b15a8fbb08393fff58a74cd9020b6c"><div class="ttname"><a href="classerpc_1_1_m_u_transport.html#aa6b15a8fbb08393fff58a74cd9020b6c">erpc::MUTransport::~MUTransport</a></div><div class="ttdeci">virtual ~MUTransport(void)</div><div class="ttdoc">Destructor of MU transport. </div><div class="ttdef"><b>Definition:</b> erpc_mu_transport.cpp:91</div></div>
<div class="ttc" id="classerpc_1_1_m_u_transport_html_a27300b08ba409b3d249055f80544ac13"><div class="ttname"><a href="classerpc_1_1_m_u_transport.html#a27300b08ba409b3d249055f80544ac13">erpc::MUTransport::MUTransport</a></div><div class="ttdeci">MUTransport(void)</div><div class="ttdoc">Constructor of MU transport. </div><div class="ttdef"><b>Definition:</b> erpc_mu_transport.cpp:71</div></div>
<div class="ttc" id="classerpc_1_1_m_u_transport_html_a8a0bf39fb5fda8dc9c9b8f9c88b099f9"><div class="ttname"><a href="classerpc_1_1_m_u_transport.html#a8a0bf39fb5fda8dc9c9b8f9c88b099f9">erpc::MUTransport::m_txSemaphore</a></div><div class="ttdeci">Semaphore m_txSemaphore</div><div class="ttdef"><b>Definition:</b> erpc_mu_transport.h:189</div></div>
<div class="ttc" id="classerpc_1_1_m_u_transport_html_aa59a102cfc5c31bd638ddbc727d7b903"><div class="ttname"><a href="classerpc_1_1_m_u_transport.html#aa59a102cfc5c31bd638ddbc727d7b903">erpc::MUTransport::m_muBase</a></div><div class="ttdeci">MU_Type * m_muBase</div><div class="ttdef"><b>Definition:</b> erpc_mu_transport.h:195</div></div>
<div class="ttc" id="classerpc_1_1_m_u_transport_html_a9182588c461613f207a84519c7db7c29"><div class="ttname"><a href="classerpc_1_1_m_u_transport.html#a9182588c461613f207a84519c7db7c29">erpc::MUTransport::m_rxMsgSize</a></div><div class="ttdeci">uint32_t m_rxMsgSize</div><div class="ttdef"><b>Definition:</b> erpc_mu_transport.h:178</div></div>
<div class="ttc" id="classerpc_1_1_m_u_transport_html_a3e2698860cf93ece52fc9359143bd2a5"><div class="ttname"><a href="classerpc_1_1_m_u_transport.html#a3e2698860cf93ece52fc9359143bd2a5">erpc::MUTransport::m_rxSemaphore</a></div><div class="ttdeci">Semaphore m_rxSemaphore</div><div class="ttdef"><b>Definition:</b> erpc_mu_transport.h:188</div></div>
<div class="ttc" id="classerpc_1_1_m_u_transport_html_af107ee7b7ee5bdd016fd01077f682efc"><div class="ttname"><a href="classerpc_1_1_m_u_transport.html#af107ee7b7ee5bdd016fd01077f682efc">erpc::MUTransport::m_sendLock</a></div><div class="ttdeci">Mutex m_sendLock</div><div class="ttdef"><b>Definition:</b> erpc_mu_transport.h:191</div></div>
<div class="ttc" id="erpc__transport_8h_html"><div class="ttname"><a href="erpc__transport_8h.html">erpc_transport.h</a></div></div>
<div class="ttc" id="classerpc_1_1_m_u_transport_html_aed8229c0d1252932cbc2825240ca718a"><div class="ttname"><a href="classerpc_1_1_m_u_transport.html#aed8229c0d1252932cbc2825240ca718a">erpc::MUTransport::hasMessage</a></div><div class="ttdeci">virtual bool hasMessage()</div><div class="ttdoc">Function to check if is new message to receive. </div><div class="ttdef"><b>Definition:</b> erpc_mu_transport.h:125</div></div>
<div class="ttc" id="classerpc_1_1_m_u_transport_html_a4b7901579d91960ed7f1857b1d1c3f59"><div class="ttname"><a href="classerpc_1_1_m_u_transport.html#a4b7901579d91960ed7f1857b1d1c3f59">erpc::MUTransport::init</a></div><div class="ttdeci">virtual erpc_status_t init(MU_Type *muBase)</div><div class="ttdoc">Initialization of MU transport layer. </div><div class="ttdef"><b>Definition:</b> erpc_mu_transport.cpp:93</div></div>
<div class="ttc" id="classerpc_1_1_message_buffer_html"><div class="ttname"><a href="classerpc_1_1_message_buffer.html">erpc::MessageBuffer</a></div><div class="ttdoc">Represents a memory buffer containing a message. </div><div class="ttdef"><b>Definition:</b> erpc_message_buffer.h:36</div></div>
<div class="ttc" id="classerpc_1_1_m_u_transport_html_abd76d3636483884dd51bf0177daccc7f"><div class="ttname"><a href="classerpc_1_1_m_u_transport.html#abd76d3636483884dd51bf0177daccc7f">erpc::MUTransport::m_rxCntBytes</a></div><div class="ttdeci">uint32_t m_rxCntBytes</div><div class="ttdef"><b>Definition:</b> erpc_mu_transport.h:180</div></div>
<div class="ttc" id="namespaceerpc_html"><div class="ttname"><a href="namespaceerpc.html">erpc</a></div><div class="ttdef"><b>Definition:</b> erpc_arbitrated_client_manager.h:25</div></div>
<div class="ttc" id="classerpc_1_1_m_u_transport_html_ab144cee591ebc9ce1ffe3d351a962ad4"><div class="ttname"><a href="classerpc_1_1_m_u_transport.html#ab144cee591ebc9ce1ffe3d351a962ad4">erpc::MUTransport::m_txBuffer</a></div><div class="ttdeci">uint32_t *volatile m_txBuffer</div><div class="ttdef"><b>Definition:</b> erpc_mu_transport.h:185</div></div>
<div class="ttc" id="classerpc_1_1_m_u_transport_html_a1d91622c7c8b8161aaf8dec891ff298a"><div class="ttname"><a href="classerpc_1_1_m_u_transport.html#a1d91622c7c8b8161aaf8dec891ff298a">erpc::MUTransport::send</a></div><div class="ttdeci">virtual erpc_status_t send(MessageBuffer *message)</div><div class="ttdoc">Function to send prepared message. </div><div class="ttdef"><b>Definition:</b> erpc_mu_transport.cpp:217</div></div>
<div class="ttc" id="erpc__threading_8h_html"><div class="ttname"><a href="erpc__threading_8h.html">erpc_threading.h</a></div></div>
<div class="ttc" id="classerpc_1_1_m_u_transport_html"><div class="ttname"><a href="classerpc_1_1_m_u_transport.html">erpc::MUTransport</a></div><div class="ttdoc">Transport that uses Messaging Unit (MU) for interprocessor messaging. </div><div class="ttdef"><b>Definition:</b> erpc_mu_transport.h:70</div></div>
<div class="ttc" id="erpc__message__buffer_8h_html"><div class="ttname"><a href="erpc__message__buffer_8h.html">erpc_message_buffer.h</a></div></div>
<div class="ttc" id="classerpc_1_1_m_u_transport_html_a166d8f35868a7312a1ad270e0173c460"><div class="ttname"><a href="classerpc_1_1_m_u_transport.html#a166d8f35868a7312a1ad270e0173c460">erpc::MUTransport::m_rxBuffer</a></div><div class="ttdeci">uint32_t *volatile m_rxBuffer</div><div class="ttdef"><b>Definition:</b> erpc_mu_transport.h:181</div></div>
<div class="ttc" id="classerpc_1_1_m_u_transport_html_ad7d078fe2c9e6c31c4eefe6d7720a244"><div class="ttname"><a href="classerpc_1_1_m_u_transport.html#ad7d078fe2c9e6c31c4eefe6d7720a244">erpc::MUTransport::tx_cb</a></div><div class="ttdeci">void tx_cb(void)</div><div class="ttdoc">Function called from MU IRQ when the MU TX empty flag is asserted and the IRQ is enabled. </div><div class="ttdef"><b>Definition:</b> erpc_mu_transport.cpp:154</div></div>
<div class="ttc" id="classerpc_1_1_m_u_transport_html_ac6d0b82f41b743f76fd85a71a8a5bc9f"><div class="ttname"><a href="classerpc_1_1_m_u_transport.html#ac6d0b82f41b743f76fd85a71a8a5bc9f">erpc::MUTransport::m_receiveLock</a></div><div class="ttdeci">Mutex m_receiveLock</div><div class="ttdef"><b>Definition:</b> erpc_mu_transport.h:192</div></div>
<div class="ttc" id="classerpc_1_1_m_u_transport_html_ae65cfdb4ea497279cc38b33be217f64a"><div class="ttname"><a href="classerpc_1_1_m_u_transport.html#ae65cfdb4ea497279cc38b33be217f64a">erpc::MUTransport::m_newMessage</a></div><div class="ttdeci">volatile bool m_newMessage</div><div class="ttdef"><b>Definition:</b> erpc_mu_transport.h:176</div></div>
<div class="ttc" id="classerpc_1_1_m_u_transport_html_a9d22cd6bde64352bf835d6407905fcce"><div class="ttname"><a href="classerpc_1_1_m_u_transport.html#a9d22cd6bde64352bf835d6407905fcce">erpc::MUTransport::m_txCntBytes</a></div><div class="ttdeci">uint32_t m_txCntBytes</div><div class="ttdef"><b>Definition:</b> erpc_mu_transport.h:184</div></div>
<div class="ttc" id="classerpc_1_1_m_u_transport_html_aa2cc9aad8e99fb873ef142426d10a7be"><div class="ttname"><a href="classerpc_1_1_m_u_transport.html#aa2cc9aad8e99fb873ef142426d10a7be">erpc::MUTransport::mu_irq_callback</a></div><div class="ttdeci">static void mu_irq_callback(void)</div><div class="ttdoc">Callback function called from MU IRQ. </div><div class="ttdef"><b>Definition:</b> erpc_mu_transport.cpp:42</div></div>
<div class="ttc" id="classerpc_1_1_mutex_html"><div class="ttname"><a href="classerpc_1_1_mutex.html">erpc::Mutex</a></div><div class="ttdoc">Mutex. </div><div class="ttdef"><b>Definition:</b> erpc_threading.h:283</div></div>
<div class="ttc" id="classerpc_1_1_semaphore_html"><div class="ttname"><a href="classerpc_1_1_semaphore.html">erpc::Semaphore</a></div><div class="ttdoc">Simple semaphore class. </div><div class="ttdef"><b>Definition:</b> erpc_threading.h:385</div></div>
<div class="ttc" id="classerpc_1_1_m_u_transport_html_a686380ce4763ecff876bea8d2cc72e44"><div class="ttname"><a href="classerpc_1_1_m_u_transport.html#a686380ce4763ecff876bea8d2cc72e44">erpc::MUTransport::rx_cb</a></div><div class="ttdeci">void rx_cb(void)</div><div class="ttdoc">Function called from MU IRQ when the MU RX full flag is asserted and the IRQ is enabled. </div><div class="ttdef"><b>Definition:</b> erpc_mu_transport.cpp:111</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.5-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul class="foot">
    <li class="footer">Copyright 2016-2020 NXP Semiconductors. All rights reserved.
    </li>
  </ul>
</div>
</body>
</html>
